
//------------------------------------------------------------------------------

using Apps.Models;
using System;
using System.ComponentModel.DataAnnotations;
namespace Apps.Models.PUB
{

	public partial class PUB_CY_COALYARDModel:Virtual_PUB_CY_COALYARDModel
	{
		
	}
	public class Virtual_PUB_CY_COALYARDModel
	{
		[Display(Name = "煤场编号")]
		public virtual string COALYARD_ID { get; set; }
		[Display(Name = "煤场名称"),Required]
		public virtual string COALYARD_NAME { get; set; }
		[Display(Name = "煤场类型"),Required]
		public virtual int COALYARD_TYPE { get; set; }
		[Display(Name = "煤场长度"), RegularExpression(@"^([0-9]\d*(\.\d+)?|0)$", ErrorMessage = "煤场长度必须大于等于0.")]
		public virtual Nullable<decimal> LENGTH { get; set; }
		[Display(Name = "煤场宽度"), RegularExpression(@"^([0-9]\d*(\.\d+)?|0)$", ErrorMessage = "煤场宽度必须大于等于0.")]
		public virtual Nullable<decimal> WIDTH { get; set; }
		[Display(Name = "煤场高度"), RegularExpression(@"^([0-9]\d*(\.\d+)?|0)$", ErrorMessage = "煤场高度必须大于等于0.")]
		public virtual Nullable<decimal> HEIGHT { get; set; }
		[Display(Name = "煤场直径"), RegularExpression(@"^([0-9]\d*(\.\d+)?|0)$", ErrorMessage = "煤场直径必须大于等于0.")]
		public virtual Nullable<decimal> DIAMETER { get; set; }
		[Display(Name = "安全高度"), RegularExpression(@"^([0-9]\d*(\.\d+)?|0)$", ErrorMessage = "安全高度必须大于等于0.")]
		public virtual Nullable<decimal> SECURE_HEIGHT { get; set; }
		[Display(Name = "设计容量"),Required, RegularExpression(@"^([0-9]\d*(\.\d+)?|0)$", ErrorMessage = "设计容量必须大于等于0.")]
		public virtual decimal DEGSIGN_VALUE { get; set; }
		[Display(Name = "安全容量"),Required, RegularExpression(@"^([0-9]\d*(\.\d+)?|0)$", ErrorMessage = "安全容量必须大于等于0.")]
		public virtual decimal SECURE_VALUE { get; set; }
		[Display(Name = "存煤优先级"),Required, RegularExpression(@"^[0-9]+(.[0-9]{1,3})?$", ErrorMessage = "存煤优先级大于等于0.")]
		public virtual byte ORDERS { get; set; }
		[Display(Name = "备注"),DataType(DataType.MultilineText)]
		public virtual string REMARKS { get; set; }
		}
}
